package all.service;

import api.UserService;
import bean.User;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * @auther: Griftt wu
 * @date: 2019/9/16
 **/
@Service
@Component
public class UserServiceImpl implements UserService {

    public User getUser(Integer id) {
        User user = new User();
        user.setName("hello");
        return user;
    }
}
